from util.OsUtil import execute_cmd, get_platform
from settings import Setting


def deploy():
    path = Setting.app_path
    if get_platform().startswith("Windows"):
        execute_cmd("cmd/win/deploy.bat")
    else:
        execute_cmd("sh {}/deploy/cmd/linux/deploy.sh".format(path))
    return True
